class Wave {
  late int adultEpilepsy;
  late int angina;
  late int anxiety;
  late int anxietyTrait;
  late int boredom;
  late int childrenEpilepsy;
  late int chronicPain;
  late int cognitiveStress;
  late int coronaryAtherosclerosis;
  late int coronaryDisease;
  late int crossOut;
  late int depression;
  late int diabetesType1;
  late int diabetesType2;
  late int drunk;
  late int drunk2;
  late int emotionalStress;
  late int erectileDysfunction;
  late int essentialHypertension;
  late int fever;
  late int flow;
  late int heartFailure;
  late int heroinAddiction;
  late int jiji;
  late int mentalFatigue;
  late int neuroticism;
  late int nocturnalHypoglycemia;
  late int onlineGameAddiction;
  late int resilience;
  late int rumination;
  late int stimPain;
  late int stroke;
  late int suddenCardiacDeath;
  late int typeA;
  late int typeD;
  late int visualFatigue;
  late int worry;
  late int worryTrait;

  Wave.fromJson(Map<String, dynamic> json) {
    adultEpilepsy = json['AdultEpilepsy'];
    angina = json['Angina'];
    anxiety = json['Anxiety'];
    anxietyTrait = json['AnxietyTrait'];
    boredom = json['Boredom'];
    childrenEpilepsy = json['ChildrenEpilepsy'];
    chronicPain = json['ChronicPain'];
    cognitiveStress = json['CognitiveStress'];
    coronaryAtherosclerosis = json['CoronaryAtherosclerosis'];
    coronaryDisease = json['CoronaryDisease'];
    crossOut = json['CrossOut'];
    depression = json['Depression'];
    diabetesType1 = json['DiabetesType1'];
    diabetesType2 = json['DiabetesType2'];
    drunk = json['Drunk'];
    drunk2 = json['Drunk2'];
    emotionalStress = json['EmotionalStress'];
    erectileDysfunction = json['ErectileDysfunction'];
    essentialHypertension = json['EssentialHypertension'];
    fever = json['Fever'];
    flow = json['Flow'];
    heartFailure = json['HeartFailure'];
    heroinAddiction = json['HeroinAddiction'];
    jiji = json['Jiji'];
    mentalFatigue = json['MentalFatigue'];
    neuroticism = json['Neuroticism'];
    nocturnalHypoglycemia = json['NocturnalHypoglycemia'];
    onlineGameAddiction = json['OnlineGameAddiction'];
    resilience = json['Resilience'];
    rumination = json['Rumination'];
    stimPain = json['StimPain'];
    stroke = json['Stroke'];
    suddenCardiacDeath = json['SuddenCardiacDeath'];
    typeA = json['TypeA'];
    typeD = json['TypeD'];
    visualFatigue = json['VisualFatigue'];
    worry = json['Worry'];
    worryTrait = json['WorryTrait'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['AdultEpilepsy'] = this.adultEpilepsy;
    data['Angina'] = this.angina;
    data['Anxiety'] = this.anxiety;
    data['AnxietyTrait'] = this.anxietyTrait;
    data['Boredom'] = this.boredom;
    data['ChildrenEpilepsy'] = this.childrenEpilepsy;
    data['ChronicPain'] = this.chronicPain;
    data['CognitiveStress'] = this.cognitiveStress;
    data['CoronaryAtherosclerosis'] = this.coronaryAtherosclerosis;
    data['CoronaryDisease'] = this.coronaryDisease;
    data['CrossOut'] = this.crossOut;
    data['Depression'] = this.depression;
    data['DiabetesType1'] = this.diabetesType1;
    data['DiabetesType2'] = this.diabetesType2;
    data['Drunk'] = this.drunk;
    data['Drunk2'] = this.drunk2;
    data['EmotionalStress'] = this.emotionalStress;
    data['ErectileDysfunction'] = this.erectileDysfunction;
    data['EssentialHypertension'] = this.essentialHypertension;
    data['Fever'] = this.fever;
    data['Flow'] = this.flow;
    data['HeartFailure'] = this.heartFailure;
    data['HeroinAddiction'] = this.heroinAddiction;
    data['Jiji'] = this.jiji;
    data['MentalFatigue'] = this.mentalFatigue;
    data['Neuroticism'] = this.neuroticism;
    data['NocturnalHypoglycemia'] = this.nocturnalHypoglycemia;
    data['OnlineGameAddiction'] = this.onlineGameAddiction;
    data['Resilience'] = this.resilience;
    data['Rumination'] = this.rumination;
    data['StimPain'] = this.stimPain;
    data['Stroke'] = this.stroke;
    data['SuddenCardiacDeath'] = this.suddenCardiacDeath;
    data['TypeA'] = this.typeA;
    data['TypeD'] = this.typeD;
    data['VisualFatigue'] = this.visualFatigue;
    data['Worry'] = this.worry;
    data['WorryTrait'] = this.worryTrait;
    return data;
  }
}
